﻿<!DOCTYPE html>
<!--[if lt IE 7 ]> <html class="ie6 settings-main_background" lang="zh"> <![endif]-->
<!--[if IE 7 ]> <html class="ie7 settings-main_background" lang="zh"> <![endif]-->
<!--[if IE 8 ]> <html class="ie8 settings-main_background" lang="zh"> <![endif]-->
<!--[if IE 9 ]> <html class="ie9 settings-main_background" lang="zh"> <![endif]-->
<!--[if (gt IE 9)|!(IE)]><!--><html class="settings-main_background" lang="zh"><!--<![endif]-->
<head>
    <meta charset="utf-8">
    <link rel="dns-prefetch" href="//asset.ibanquan.com">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <title>首页</title>
    <meta name="keywords" content="">
    <meta name="description" content="首页">
    <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, width=device-width">
    <link rel="shortcut icon" href="__STATIC__/home/index/picture/2.png" type="image/x-icon">
    <link href='__STATIC__/home/index/css/base-160225.min_5.css' media='screen' rel='stylesheet' type='text/css' />
    <link href='__STATIC__/home/index/css/iconfont_5.css' media='screen' rel='stylesheet' type='text/css' />
    <link href='__STATIC__/home/index/css/iconfont-1_5.css' media='screen' rel='stylesheet' type='text/css' />
    <link href='__STATIC__/home/index/css/main_5.css' media='screen' rel='stylesheet' type='text/css' />
    <link href='__STATIC__/home/index/css/user_5.css' media='screen' rel='stylesheet' type='text/css' />
    <script src='__STATIC__/home/index/js/jquery-1.11.3.min_4.js' type='text/javascript'></script>
    <script src='__STATIC__/home/index/js/jssdk-0.0.18.min_4.js' type='text/javascript'></script>
    <script src='__STATIC__/home/index/js/lazyload.min_5.js' type='text/javascript'></script>

    <!--<script>-->
        <!--window.productImage='53f649ffe2931e0b91000007/noimage.png';-->
        <!--window.vendorImage='578fc93402282e4f18000003/noimage.png';-->
        <!--window.iconImage='57acb51702282e3f00000003/noimage.ico';-->
        <!--window.shareImage='57acb53a02282e3f00000007/noimage.png';-->
        <!--window.assetPath='//asset.ibanquan.com/image/';-->
        <!--window.postImage='581a3b0402282e2bcc000003/s.png';-->
        <!--window.captchaPath = '//captcha.ibanquan.com';-->
        <!--window.ajaxToken='9dd5934c294149a8aaba5a3540d7f709';-->
    <!--</script>-->
    <script>(function(){var yt = document.createElement('script');yt.src = '//asset.ibanquan.com/common/js/tracker-0.0.2.min.js?v=142';var s = document.getElementsByTagName('script')[0];s.parentNode.insertBefore(yt, s);})();</script>
</head>
<body >
<!--导航-->
<div class="head container settings-top_background">
    <div class="head-t">
        <div class="head-btn settings-top_color">
            <i class="iconfont icon-hanbao" id="nav_mobile"></i>
        </div>
        <div class="head-tl">
            <a href="{:url('home/index/index')}">
                <img src="__STATIC__/home/index/picture/456.png" alt="创学习">
            </a>
        </div>

        <div class="head-tr">
            <div id="navline" style=""></div>
            <ul class="dropdown-list">


                <li class="dropdown-list-item">
                    <a class="dropdown-link settings-nav_text_color"
                       href="{:url('home/index/index')}"

                    >
                        首页
                    </a>
                </li>


                <li class="dropdown-list-item">
                    <a class="dropdown-link settings-nav_text_color"
                       href="{:url('home/courses/index')}"

                    >
                        课程
                    </a>
                </li>


                <li class="dropdown-list-item">
                    <a class="dropdown-link settings-nav_text_color"
                       href="{:url('home/article/index')}"

                    >
                        文章
                    </a>
                </li>


                <li class="dropdown-list-item">
                    {if condition="$user_id gt 0"}
                    <a class="dropdown-link settings-nav_text_color"
                       href="{:url('home/center/index')}">个人中心
                    </a>
                    {else /}
                    <a class="dropdown-link settings-nav_text_color"
                       href="{:url('home/users/login')}">登录注册
                    </a>
                    {/if}

                </li>

                <li class="dropdown-list-item">
                    <a class="dropdown-link settings-nav_text_color"
                       href="{:url('home/index/contact')}"
                    >
                        联系我们
                    </a>
                </li>
                {if condition="$user_id gt 0"}
                <li class="dropdown-list-item">
                    <a  class="del dropdown-link settings-nav_text_color">
                        退出
                    </a>
                </li>
                {/if}
            </ul>
        </div>

    </div>
</div>
<!--手机导航-->
<div class="container wrapper-mobile_nav" id="mobile_menu">
    <div class="mobile_nav">
        <!-- -->
        <div class="mobile_nav_menu settings-mobi_nav_background">
            <div class="mobile_nav_top settings-top_color settings-main_border">
                <a href="{:url('home/index/index')}">
                    <img src="__STATIC__/home/index/picture/456.png" alt="创学习">
                </a>
                <i class="iconfont icon-close" id="closeMbileNav"></i>
            </div>
            <!-- 一级菜单 -->
            <ul id="side-nav-link" class="side-nav-link">



                <li class="side-nav-link-each">
                    <a class="settings-nav_text_color settings-sideLinkHover_color"
                       href="{:url('home/index/index')}"

                    >
                        首页
                    </a>
                </li>


                <li class="side-nav-link-each">
                    <a class="settings-nav_text_color settings-sideLinkHover_color"
                       href="{:url('home/courses/index')}"

                    >
                        课程
                    </a>
                </li>


                <li class="side-nav-link-each">
                    <a class="settings-nav_text_color settings-sideLinkHover_color"
                       href="{:url('home/article/index')}"

                    >
                        文章
                    </a>
                </li>


                <li class="side-nav-link-each">
                    {if condition="$user_id gt 0"}

                    <a class="settings-nav_text_color settings-sideLinkHover_color"
                       href="{:url('home/center/index')}">
                        个人中心
                    </a>
                        {else /}
                        <a class="settings-nav_text_color settings-sideLinkHover_color"
                           href="{:url('home/users/login')}">
                            登录注册
                        </a>
                    {/if}

                </li>

                <li class="side-nav-link-each">
                    <a class="settings-nav_text_color settings-sideLinkHover_color"
                       href="{:url('home/index/contact')}"

                    >
                        联系我们
                    </a>
                </li>
                {if condition="$user_id  gt 0"}
                <li class="side-nav-link-each">
                    <a class="del settings-nav_text_color settings-sideLinkHover_color">
                        退出
                    </a>
                </li>
                {/if}
                <!---->
            </ul>
        </div>
        <div class="mobile_nav_bg" id="mobile_bg"></div>
        <!-- -->
    </div>
</div>


<div class="index container settings-main_background_color">
    <!--轮播图-->
    <div class="index-top">

        <div class="slide-cnt" id="slides">

            <a class="slide-link" href="javascript:void(0);" >
                <img width="100%" src="__STATIC__/home/index/picture/6.jpg" alt="slide1"/>
            </a>


            <a class="slide-link" href="https://1111.tmall.com/?wh_weex=true&ali_trackid=2:mm_26632258_3504122_55934697:1509587112_252_140933564&clk1=dc07e1733ca3612a2a7cad343f687406&upsid=dc07e1733ca3612a2a7cad343f687406" >
                <img width="100%" src="__STATIC__/home/index/picture/4.png" alt="slide2"/>
            </a>


            <a class="slide-link" href="javascript:void(0);" >
                <img width="100%" src="__STATIC__/home/index/picture/timg2.jpg" alt="slide3"/>
            </a>

            <a href="javascript:void(0);" id="slides_prev" class="slidesjs-previous slidesjs-navigation">
                <span class="main-ico main-ico-sildeLeft"></span>
            </a>
            <a href="javascript:void(0);" id="slides_next" class="slidesjs-next slidesjs-navigation">
                <span class="main-ico main-ico-sildeRight"></span>
            </a>
        </div>

    </div>
    <!--圆图-->
    <div id="features">
        <ul>
            <li>
                <a href="{:url('home/courses/index')}" >
                    <div class="icon icon1"><img src="__STATIC__/home/index/picture/chuang1.jpg"></div>
                    <p class="title">实施创新</p>
                    <p class="sub-title">我们每天都在创新</p>
                </a>
            </li>
            <li>
                <a href="{:url('home/article/details')}?id={$rex}" >
                    <div class="icon icon2"><img src="__STATIC__/home/index/picture/chuang2.jpg"></div>
                    <p class="title">学海无涯</p>
                    <p class="sub-title">学海无涯苦作舟</p>
                </a>
            </li>
            <li>
                <a href="{:url('home/article/details')}?id={$rex2}" >
                    <div class="icon icon3"><img src="__STATIC__/home/index/picture/chuang3.jpg"></div>
                    <p class="title">习惯诚然</p>
                    <p class="sub-title">养成一个好的学习习惯</p>
                </a>
            </li>
            <li>
                <a href="{:url('home/article/details')}?id={$rex3}" >
                    <div class="icon icon4"><img src="__STATIC__/home/index/picture/chuang4.jpg"></div>
                    <p class="title">无处不在</p>
                    <p class="sub-title">有网络的地方就有我们</p>
                </a>
            </li>
            <li>
                <a href="{:url('home/article/details')}?id={$rex4}" >
                    <div class="icon icon5"><img src="__STATIC__/home/index/picture/chuang5.jpg"></div>
                    <p class="title">海天一线</p>
                    <p class="sub-title">努力才能创造奇迹</p>
                </a>
            </li>
        </ul>

    </div>
    <!--基础教学-->
    <div class="figures1">
        <div class="title"><a href="/posts?dir_id=15726" class='index-box-hd-more'>基础教学</a></div>
        <ul>
            {volist name="res" id="v"}
            <li>
                <a href="{:url('home/details/index')}?id={$v.courses_id}">
                    <div class="index-headline-pic">
                            <img src="{$v.courses_photo}" title="{$v.courses_name}"/>
                        <div class="index-headline-text">{$v.courses_name}</div>
                    </div>
                </a>
            </li>
            {/volist}
        </ul>
    </div>
    <div class="figures2">
        <div class="title"><a href="/posts?dir_id=15730" class='index-box-hd-more'>精品推荐</a></div>
        <ul class="ui-sortable">
            {volist name="row" id="v"}
            <li>
                <a href="{:url('home/details/index')}?id={$v.courses_id}">
                    <div class="index-headline-pic">
                            <img src="{$v.courses_photo}" title="{$v.courses_name}"/>
                        <div class="index-headline-text">{$v.courses_name}</div>
                    </div>
                </a>
            </li>
            {/volist}
        </ul>
    </div>

    <!--最新文章-->
    <div class="figures3">
        <div class="title"><a href="/posts?dir_id=15731" class='index-box-hd-more'>最新动态</a></div>
        <ul class="index-news-list">
            {volist name="title" id="vo"}
            <li class="index-news-item"><a href="{:url('home/article/details')}?id={$vo.article_id}">{$vo.article_title}</a></li>
            {/volist}
        </ul>
    </div>

</div>
<script src='__STATIC__/home/index/js/jquery.slides.min_5.js' type='text/javascript'></script>
<script>
    $(function(){
        $('#slides_prev').hide();
        $('#slides_next').hide();

        $("#slides").slidesjs({
            width:"1920",
            height:"609",
            play: {
                active: true,
// [boolean] Generate the play and stop buttons.
// You cannot use your own buttons. Sorry.
                effect: "fade",
// [string] Can be either "slide" or "fade".
                interval: 5000,
// [number] Time spent on each slide in milliseconds.
                auto: true,
// [boolean] Start playing the slideshow on load.
                swap: false,
// [boolean] show/hide stop and play buttons
                pauseOnHover: true,
// [boolean] pause a playing slideshow on hover
                restartDelay: 2500
// [number] restart delay on inactive slideshow
            },
            navigation: {
                active: false,
                effect: "fade"
            },
            pagination:{
                active: true,
                effect: "fade"
            }
        });

    });
</script>
<div id='tracecode'></div>

<!--尾部-->

<div class="footer container settings-footer_background">
    <div class="footer-content">
        <div class="footer-t">
            <div class="footer-t-l">
                <div class="footer-nav">

                    <a class="footer-link settings-footer_text_color" href="https://youhaosuda.com/" >关于我们</a>

                    <span class="footer-split settings-footer_text_color">|</span>


                    <a class="footer-link settings-footer_text_color" href="https://youhaosuda.com/" >友情链接</a>

                    <span class="footer-split settings-footer_text_color">|</span>


                    <a class="footer-link settings-footer_text_color" href="/posts?dir_id=15730" >更多文章</a>

                    <span class="footer-split settings-footer_text_color">|</span>


                    <a class="footer-link settings-footer_text_color" href="/pages/g000001" >最新动态</a>


                </div>
            </div>
        </div>
        <div class="footer-b settings-footer_text_color">
            © 2017 youhaosuda.com All rights reserved.Powered by Youhaosuda.
        </div>
    </div>
</div>
<script src="__STATIC__/home/js/layer/layer.js"></script>
<script src='__STATIC__/home/index/js/main_5.js' type='text/javascript'></script>
</body>

<script>

    $(document).ready(function () {
        $(".del").click(function () {
            $.get("{:url('home/users/login_out')}", function (data) {

                console.debug(data);

                 if(data == 1){
                    layer.msg('退出成功！！', {icon: 1});

                     setTimeout(function(){
                         window.location.href="{:url('home/index/index')}";
                     },500);

                }
            })
        })
    })
</script>


</html>
